import Vue from 'vue'
import Router from 'vue-router'

import Index from '@/view/index'
import Login from '@/view/login'
import Register from '@/view/register'
import Img1440 from '@/view/img1440'


Vue.use(Router)
export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: Index,
      children: [
        {
          path: '/img1440',
          name: 'Img1440',
          component: Img1440,
        }
      ]
    },
    {
      path: '/login',
      name: 'Login',
      component: Login,
    },
    {
      path: '/register',
      name: 'Register',
      component: Register,
    }

  ]
})